<div class="ui-tab">
    <ul>
        <li class="tab-item <{if $action eq index}>selected<{/if}>"><a href="<{u(index)}>" onclick="LayerShow();">资讯文章</a></li>
        <li class="tab-item <{if $action eq cases and $tp eq 1}>selected<{/if}>"><a href="<{u('cases?tp=1')}>" onclick="LayerShow();">会员活动</a></li>
        <li class="tab-item <{if $action eq cases and $tp eq 2}>selected<{/if}>"><a href="<{u('cases?tp=2')}>" onclick="LayerShow();">积分兑换</a></li>

        <{*
        <li class="tab-item <{if $action eq edit or $action eq add}>selected<{/if}>">
            <{if $action eq edit}><a href="javascript:void(0)">修改文章</a>
            <{else}><a href="<{u(add)}>" onclick="LayerShow();">添加文章</a><{/if}>
        </li>
        *}>
    </ul>
</div>